package edu.zut.cs.network.data_type.cylinder;

class Cylinder{	
	private double r,h;	
	//final double PI=3.14159;	
	public void setRH(double a,double b){		
		r=a;		
		h=b;	
		}	
	public double getR(){		
		return r;	
		}	
	public double getH(){		
		return h;	
		}
	public double volumn(){		
		return Math.PI*Math.pow(r,2)*h;	
		}
	}



